﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using LifeTree.DomainModel.Entities;

namespace LifeTree.EntityFrameworkProvider
{
    public interface ILifeTreeContext
    {
        IDbSet<Task> Tasks { get; }

        IDbSet<Workbook> Workbooks { get; }

        IDbSet<T> GetSetByType<T>() where T : class;

        int SaveChanges();
    }
}
